Skip to content

Add duplicate block id detection#45

Merged
nonprofittechy merged 1 commit into
mainfrom
check-dup-id
Jun 2, 2026
Merged

Add duplicate block id detection#45
nonprofittechy merged 1 commit into
mainfrom
check-dup-id

Conversation

@rajeswari1301
Copy link
Copy Markdown
Contributor

When two blocks share the same id:, docassemble silently uses the later one with no warning - which is almost always a mistake and hard to find. The checker now flags this as error EG104 with the line number of the first use.

Co-authored-by: Copilot <copilot@github.com>
Copy link
Copy Markdown
Collaborator

@BryceStevenWilley BryceStevenWilley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@nonprofittechy nonprofittechy merged commit 115db4e into main Jun 2, 2026
4 checks passed
@nonprofittechy nonprofittechy deleted the check-dup-id branch June 2, 2026 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants